const mongoose = require('mongoose');

const websiteSchema = new mongoose.Schema({
    url: { type: String, required: true },
    name: { type: String },
    data: { type: Object, default: {} },
    description: { type: String },
}, { timestamps: true });

module.exports = mongoose.model('Website', websiteSchema, 'website');